Username='jason'
Password='12345'
count=0
while True:
    if count > 2:
        break
    name = input('please input your name>>: ')
    passwd = input('please input your password>>: ')
    if name == Username and passwd == Password:
        print('login successful')
        break
    else:
        print("login faild")
        count+=1

# 来个错误次数提示？